package com.jflm.domain;

import java.sql.Timestamp;

public class User  {
	
	private String id;
	
	private String shopId;//商户id
	
	private String name;//用户名
	
	private String pwd;//用户密码
	
	private int type;//类型 0-管理员 1-普通用户
	
	private int del;//状态
	
	private int money;//预存款
	
	private int usedMoney;//已使用金额
	
	private int balance;//可用余额
	
	private int searchNumber;//已查询条数
	
	private int permissionId;//权限id  （服务： 1-反欺诈 2-评分卡   菜单: 1-权限管理  2-订单管理）
	
	private String creatorId;
	
	private String roleName;//角色
	
	private String phone;//手机号
	
	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public String getCreatorId() {
		return creatorId;
	}

	public void setCreatorId(String creatorId) {
		this.creatorId = creatorId;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getPermissionId() {
		return permissionId;
	}

	public void setPermissionId(int permissionId) {
		this.permissionId = permissionId;
	}

	public int getUsedMoney() {
		return usedMoney;
	}

	public void setUsedMoney(int usedMoney) {
		this.usedMoney = usedMoney;
	}

	public int getBalance() {
		return balance;
	}

	public void setBalance(int balance) {
		this.balance = balance;
	}

	public int getSearchNumber() {
		return searchNumber;
	}

	public void setSearchNumber(int searchNumber) {
		this.searchNumber = searchNumber;
	}

	public int getMoney() {
		return money;
	}

	public void setMoney(int money) {
		this.money = money;
	}

	private Timestamp createTime;//创建时间
	
	private String creatoId;//创建人

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}


	public String getPwd() {
		return pwd;
	}

	public void setPwd(String pwd) {
		this.pwd = pwd;
	}

	public int getType() {
		return type;
	}

	public void setType(int type) {
		this.type = type;
	}

	public int getDel() {
		return del;
	}

	public void setDel(int del) {
		this.del = del;
	}

	public Timestamp getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public String getCreatoId() {
		return creatoId;
	}

	public void setCreatoId(String creatoId) {
		this.creatoId = creatoId;
	}

	
}
